Skip to content

Add new entry for CSS snippets for Plugins Publishing Guidelines#51

Open
DaddyBoard wants to merge 3 commits intoBetterDiscord:mainfrom
DaddyBoard:main
Open

Add new entry for CSS snippets for Plugins Publishing Guidelines#51
DaddyBoard wants to merge 3 commits intoBetterDiscord:mainfrom
DaddyBoard:main

Conversation

@DaddyBoard
Copy link
Member

No description provided.

@DaddyBoard DaddyBoard changed the title Add new guideline entry for CSS snippets Add new entry for CSS snippets for Plugins Publishing Guidelines Mar 22, 2026
@Huderon
Copy link
Contributor

Huderon commented Mar 22, 2026

Should this not be under scope rather than general?

Where do we draw the line here? If something could be accomplished with CSS but the dev adds some nonsense logic that isn't really required does that get a pass? The function of ChatButtonsBegone and CollapsibleUI can both be achieved with purely CSS, where do they stand?

@DaddyBoard
Copy link
Member Author

DaddyBoard commented Mar 22, 2026

Should this not be under scope rather than general?

woops, yes meant it to be under scope

@DaddyBoard
Copy link
Member Author

Where do we draw the line here? If something could be accomplished with CSS but the dev adds some nonsense logic that isn't really required does that get a pass? The function of ChatButtonsBegone and CollapsibleUI can both be achieved with purely CSS, where do they stand?

ChatButtonsBegone(CBB) is a goliath that uses webpack queries to get the classnames, meaning its not a spam of css with wildcard queries happening on every mutation - that to me is far across the line of "functionality as a plugin" rather than just a css snippet in a plugin.

Quick glance at CollapsibleUI shows its not just css, it gives the user multiple options across various parts of the UI, a bit like CBB.

I would deem these appropriate for being a plugin, whereas something like this is what the new rule covers. Lastly, like most rules, are generally up to the discretion of the review team - if its as simple as that plugin linked above, its obviously not permitted

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new guideline clarifying that submissions categorized as plugins must include JavaScript-driven logic/interactivity, and that CSS-only snippets (e.g., purely hiding/removing elements) are not acceptable under the plugin guidelines.

Changes:

  • Added a Scope guideline disallowing CSS-only “plugin” submissions that only hide/remove elements.
  • Adjusted document spacing around the Scope section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants